<?php include "../../../include/php/header.php"; ?>
<center>
<table width="800" border="0" cellpadding="0" cellspacing="0">
  <tr>
   <td colspan="2">
  		<div class="texto_bienvenida cizq">
		Bienvenido, <?=$objeto->obtenerUsuario();?><br/>
    </div>
    <div class="texto_encabezado cder">
     	<div class="tab cizq">
	    <a href="../../index.php">Panel Principal</a>
	    </div>
	    <div class="tab cizq">
	    <a href="index.php">Panel Articulos</a>
		</div>
	    <div class="tab cizq">
	    <a href="../../../include/<?=$objeto->cerrar_s()?>" class="menu">Cerrar Sesi&oacute;n</a>    
	    </div>
    </div>
    <div class="sep"></div>
  </td>
  </tr>
</table>
<table width="800" border="0">
<tr>
<!-- Arriba de Menu Vacia -->
  <td valign="baseline" bgcolor="#FFFFFF" class="Estilo78" scope="col">
  <div align="center" style="margin:6px 0 6px 0;">		
  <form id="formAgregar">
  <table cellspacing="5" cellpadding="5">
  <tr>
    <td colspan="3" valign="top" class="celda_form" style="background-color:#333333">
    Agrega nuevo articulo
    </td>
  </tr>
  <tr>
  <td valign="top" class="celda_form">Titulo</td>
  <td colspan="2" align="left" class="celda_form">
    <input size="97" maxlength="500" type="text" name="Titulo" id="Titulo">  </td>
  </tr>
  <tr>
  <td valign="top" class="celda_form">Contenido</td>
  <td colspan="2" align="left" class="celda_form">
  <textarea name="Contenido" cols="75" rows="25" id="Contenido"></textarea>  </td>
  </tr>
  <tr>
  <td class="celda_form">Acciones</td>	
  <td class="celda_form" colspan="2">
  <input type="button" id="btLeerMas" value="Leer M&aacute;s" />
  </td>
  </tr>
  <tr>
    <td colspan="3" style="text-align:center;" class="celda_form">
    Idioma
    <select name="cbIdioma" id="cbIdioma" title="cat_secc.inc.php">
    <option value="-1">Seleccione Idioma</option>
    <?php
	$sql = "SELECT * FROM idiomas";
	$res = $db->exec_cons($sql);
	while($resultados = mysql_fetch_array($res)){
	?>
       	<option value="<?=$resultados["codigo"]?>"><?=$resultados["nombre"]?></option>
    <?php
	}
	?>
    </select>    
    Categoria
    <select name="cbCategoria" id="cbCategoria">
    <option value="-1">Seleccione Categoria</option>
    </select>
    Secci&oacute;n
    <select name="cbSeccion" id="cbSeccion">
    <option value="-1">Seleccione Secci&oacute;n</option>
    </select>
    </td>
  </tr>
  <tr>
    <td valign="top" style="background-color:#9CBADE" class="celda_form">Fecha</td>
    <td align="left" style="background-color:#9CBADE" colspan="2">
    <input size="91" maxlength="10" id="Fecha" type="text" name="cjFecha"><button id="FC">...</button>
    <script type="text/javascript">
  		  Calendar.setup(
    	  {
      		inputField  : "Fecha",         // ID of the input field
      		ifFormat    : "%Y-%m-%d",    // the date format
      		button      : "FC"       // ID of the button
    	  }
  		  );
    </script>
    </td>
  </tr>
  <tr>
    <td valign="top" class="celda_form">Etiquetas</td>
    <td colspan="2" align="left" class="celda_form">
    <input size="97" maxlength="250" type="text" name="cjEtiquetas">    </td>
  </tr>
  <tr>
  <td valign="top" class="celda_form">Contacto</td>
  <td colspan="2" align="left" class="celda_form"> 
  <input size="97" maxlength="250" type="text" name="Contacto">  </td>
  </tr>
  <tr>
  <td colspan="3" class="linea">
  <div class="cizq" id="status"></div>
  <div class="cder">  
  <input type="button" name="btAgregar" value="Agregar Articulo" alt="agregar_articulo.inc.php" id="btAgregar" 
  title="1">
  </div>
  <div class="sep"></div>
  </td>
  </tr>
  </table>
  </form>
  </div>
  </td>
</tr>
<tr>
  <td valign="baseline" class="celda_pie" scope="col">&nbsp;</td>
</tr>
</table>
</center>
<?php include "../../../include/php/footer.php"; ?>
